<?php
/**
 * Created by PhpStorm.
 * User: XD
 * Date: 2017/9/6
 * Time: 17:22
 */

class MyGongShiTest extends MysqlBuilder
{
    function BuildServerName()
    {
        // TODO: Implement BuildServerName() method.
        $this->_mysqlModel->setServername("xujiang5.xicp.io");
    }

    function BuildUserName()
    {
        // TODO: Implement BuildUserName() method.
        $this->_mysqlModel->setUsername("root");
    }

    function BuildPassword()
    {
        // TODO: Implement BuildPassword() method.
        $this->_mysqlModel->setPassword("xujiang1994323");
    }

    function BuildDB()
    {
        // TODO: Implement BuildDB() method.
        $this->_mysqlModel->setDb("test");
    }

    function GetMysql()
    {
        // TODO: Implement GetMysql() method.
        return $this->_mysqlModel;
    }

}